package it.unisalento.appsalento.constants;

/**
 * <b>Description:</b>Classe contenente le costanti utili all'app
 * @author Alberto Gianfranco Meleleo
 *
 */
public class Constants {
//	public static final String URL_REST = "https://sistemistudenti.unisalento.it/app_esse3/";
	public static final String URL_REST = "http://192.168.0.134:8080/";
	public static final String SERVICE_LOGIN = "checkUser";
	public static final String SERVICE_NEWS = "getNews";
	public static final String SERVICE_LISTA_APPELLI = "getAppelli";
	
	public static final String SERVICE_PRENOTA_APPELLO = "prenotaAppello";
	public static final String SERVICE_LIBRETTO = "getLibretto";
	public static final String SERVICE_APPELLO = "getAppello";
	public static final String SERVICE_ACCETTA_RISULTATO = "accettaRisultatoAppello";
	public static final String SERVICE_REGISTRA_GCM_ID = "registerGcmId";
	public static final String SERVICE_CANCELLA_GCM_ID = "unregisterGcmId";
	
	public static final String ESAME_DETTAGLIO_EVENT = "EsameDettaglioEvent";
	public static final String UPDATE_NEWS_EVENT = "UpdateNewsEvent";
	public static final String SHOW_APPELLO_EVENT = "ShowAppelloEvent";
	public static final String SHOW_RISULTATO_EVENT = "ShowRisultatoEvent";
	public static final String UPDATE_APPELLI_EVENT = "UpdateAppelliEvent";
	
	public static final String RESPONSE_NEW_EXTRA_NAME = "NewResponse";
	public static final String ESAME_COD_EXTRA_NAME = "CodiceEsame";
	public static final String APPELLO_ID_NAME = "IdAppello";
	
	public static final boolean MOCK_ENABLED = false;
	
	public static final String DD_MM_YYYY_HH_MM = "dd/MM/yyyy  HH:mm";
	public static final String DD_MM_YYYY = "dd/MM/yyyy";
	public static final String DD_MM_YY = "dd/MM/yy";
	public static final String PREFS_NAME = "UniSalPrefsFile";
	public static final String PREF_USERNAME = "username";
	public static final String PREF_PASSWORD = "password";
	public static final String PREF_GUIDE_ALREADY_SHOWN = "guide_shown";
	public static final String TITLE_ERROR = "ERROR";
	public static final String TITLE_WARNING = "WARNING";
	public static final String TITLE_INFO = "INFO";
	
	public static final String SERVER_URL = ""; 
	public static final String SENDER_ID = "1067913237172"; 
	public static final String TAG = "Notifica";
	public static final String DISPLAY_MESSAGE_ACTION = "it.unisalento.appsalento.DISPLAY_MESSAGE";
	public static final String EXTRA_MESSAGE = "message";
	
	public static final String NOTIFICATION_EXTRA_TYPE = "type";
	public static final String NOTIFICATION_EXTRA_TITLE = "title";
	public static final String NOTIFICATION_EXTRA_MESSAGE = "message";
	
	public static final String NOTIFICATION_TYPE_NEWS = "1";
	public static final String NOTIFICATION_TYPE_APPELLI = "2";
	public static final String NOTIFICATION_TYPE_RISULTATI = "3";
	
	public static final String BACKSTACK_LOADING = "loading";
}
